#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Vocab-tester is an application initially designed to help me memorize my 
Spanish and save paper by acting as a digital version of flashcards.  
Eventually, this program will be extended so that it can successfully act as
a comprehensive vocab tester/learning aid for any language or field involving
memorization.
"""

from __future__ import print_function

__author__ = 'Michael Lee'
__license__ = 'GNU Lesser GPL'
__version__ = '0.0.0'
__release__ = 'March 06, 2012'
__program__ = 'Vocab Tester'

import vocab
import io.console as console


def main():
    """The main method to start the entire program"""
    args = console.CommandIo().parse()
    print(args)
    words = vocab.FileReader().get_words_flat(args.input_path)
    console.Prompter().ask(words.random(args.language))
    
if __name__ == '__main__':
    main()
